package com.wl.application.services.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wl.application.entity.Dept;
import com.wl.application.entity.vo.DeptVo;
import com.wl.application.mapper.DeptMapper;
import com.wl.application.services.DeptService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author wl
 * @version 1.0
 * @date 2022/6/18
 * @description:
 */
@Service
public class DeptServiceImpl extends ServiceImpl<DeptMapper, Dept> implements DeptService {
    @Resource
    private DeptMapper deptMapper;

    @Override
    public List<DeptVo> getDeptAndNum() {
        return deptMapper.getDeptAndNum();
    }
}
